﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2021_5_10
{
    class Users
    {
        //1. 定义一个用户类，存放用户的账号、用户名和密码属性；
        public string Account { get; set; }
        public string UserName{ get; set; }
        public string Password { get; set; }

        public void UserMsg() {
            Console.WriteLine("该用户的账号为{0},用户名为：{1},密码为：{2}",this.Account,this.UserName,this.Password);
        }
    }
}
